<?php

echo $this -> Session -> flash();

/** Formulario **/
echo $this -> Html -> css('formularios', null, array("inline" => false));
echo $this -> Form -> create('Usuario', array('action' => 'registrar', 'class' => 'formulario'));
echo $this -> Form -> input('nombre', array('label' => 'Nombre'));
echo $this -> Form -> input('apellido', array('label' => 'Apellido'));
echo $this -> Form -> input('nombre_usuario', array('label' => 'Nombre de Usuario'));
echo $this -> Form -> input('contrasenia', array('label' => 'Contraseña', 'type' => 'password', 'value' => ''));
echo $this -> Form -> input('confirmar_contrasenia', array('label' => 'Confirmar Contraseña', 'type' => 'password', 'value' => ''));
echo '<div>'; 	// botones
echo $this -> Form -> submit('Regístrame', array('div' => false));
echo '&nbsp;';		// separador
echo '&nbsp;';		// separador
echo $this -> Html -> link('Salir', array('action' => 'login'));
echo '</div>';	// fin botones
echo $this -> Form -> end();
?>
